package ModelLayer;

import java.util.Date;

/** 
 * @author (Gruppe 5) 
 * @version (04-04-2013)
 */
public class Invoice
{
    // fields
    private int invoiceNo;
    private Date paymentDate;
    private double amount;

    /**
     * Constructor for objects of class Invoice
     */
    public Invoice(int invoiceNo, Date paymentdate, double amount)
    {
        this.invoiceNo=invoiceNo;
        this.paymentDate=paymentDate;
        this.amount=amount;
    }
    
    //getters and setters

	public int getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(int invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	public Date getPaymentDate() {
		return paymentDate;
	}

	public void setPaymentDate(Date paymentDate) {
		this.paymentDate = paymentDate;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}
    
}